package com.zy.couponapp.service.schedule;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * @author MissZhou
 */
@Service
public class HelloSchedule {

    private static final Logger logger =  LoggerFactory.getLogger(UpdateCouponJob.class);

    /**
     * 测试定时任务
     * @Scheduled(cron = "* 0/1 * * * ?") 秒分时日月年
     * @Scheduled(cron = "* * 0/1 * * ?")   linux unix  rsync crontab
     */
//    @Scheduled(cron = "0/5 * * * * ?")
//    public void hello(){
//        logger.info("enter hello job!");
//    }
}
